package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DrBayConsult;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IDrBayConsultRepository extends BaseJpaRepository<DrBayConsult, Long> {

    List<DrBayConsult> findByDoctorIdOrderByWeekIndex(Long doctorId);

    List<DrBayConsult> findByDoctorIdAndWeekIndexOrderByWeekIndex(long doctorId, int weekIndex);


}
